package com.kaifamiao.month05.day07;


import java.io.File;
import java.io.IOException;

public class Demo {

    public static void main(String[] args) throws IOException {
        File original = new File("E:\\1101\\test\\temp\\0001.png");
        long size = 1024 * 1024; // 单次最大容量为1M
        File directory = new File("E:\\1101\\test\\temp\\test");
        FileCut fc = new FileCut(original,directory,2, size);
        fc.cutFile();
    }
}
